home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
comm
/
ftp4w24b.zip
/
vb
/
ftp_get.frm
< prev
next >
Wrap
Text File
|
1995-01-03
|
3KB
|
102 lines
VERSION 2.00
Begin Form Get_file
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "Get File"
ClientHeight = 2265
ClientLeft = 3285
ClientTop = 2040
ClientWidth = 3180
ControlBox = 0 'False
Height = 2670
Left = 3225
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2265
ScaleWidth = 3180
Top = 1695
Width = 3300
Begin CommandButton Cancelget
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Left = 2040
TabIndex = 4
Top = 1560
Width = 975
End
Begin CommandButton GetFile
Caption = "Get"
Default = -1 'True
Height = 375
Left = 120
TabIndex = 3
Top = 1560
Width = 975
End
Begin TextBox LocalFile
Height = 285
Left = 1320
TabIndex = 2
Text = "LocalFile"
Top = 840
Width = 1695
End
Begin TextBox HostFile
Height = 285
Left = 1320
TabIndex = 1
Text = "HostFile"
Top = 240
Width = 1695
End
Begin Label Label2
BackColor = &H00C0C0C0&
Caption = "Local File :"
Height = 255
Left = 120
TabIndex = 5
Top = 840
Width = 1095
End
Begin Label Label1
BackColor = &H00C0C0C0&
Caption = "Host File :"
Height = 255
Left = 120
TabIndex = 0
Top = 240
Width = 1095
End
End
Sub Cancelget_Click ()
'
OKDialog = False
Unload Get_file
'
End Sub
Sub Form_Load ()
'
Get_file!HostFile.Text = ""
Get_file!LocalFile.Text = ""
'
End Sub
Sub GetFile_Click ()
'
Src_nam = Get_file!HostFile.Text
Dest_nam = Get_file!LocalFile.Text
'
If Len(Trim$(Src_nam)) <> 0 And Len(Trim$(Dest_nam)) <> 0 Then
OKDialog = True
Unload Get_file
Else
MsgBox "You must enter a source and destination name", 64, "Warning"
End If
'
End Sub